#include "TestMethods.h"


TestMethods::TestMethods(Manipulator* todoTMPtr, Manipulator* doneTMPtr) : Command(todoTMPtr, doneTMPtr){
}


TestMethods::~TestMethods(void){
}

time_t TestMethods::executeProcessTime(std::string input, bool isStart, bool isWeekPermitted) {
	time_t timeT;

	timeT = processTime(input, isStart, isWeekPermitted);

	return timeT;
}

std::vector<std::vector<std::string>> TestMethods::executeExtractParamsForKeywords(std::string& input, std::vector<std::string> keywords) {
	std::vector<std::vector<std::string>> keywordsAndParams;

	keywordsAndParams = extractParamsForKeywords(input, keywords);

	return keywordsAndParams;
}

void TestMethods::executeUpdateDisplayedTask(Manipulator* displayedTMPtr, std::vector<int> displayedTasksIndexes) {
	updateDisplayedTask(displayedTMPtr, displayedTasksIndexes);
}

//@author A0092201X
std::vector<int> TestMethods::executeGetDisplayedTask(void) {
	return getDisplayedTask();
}

Manipulator* TestMethods::executeGetDisplayedTMPtr(void) {
	return getDisplayedTMPtr();
}
